package com.example.communitypro.pojo;

import java.util.Date;


public class HomeMessage {
    String title;
    String context;
    Date date;

    public HomeMessage(String title, String context, Date date) {
        this.title = title;
        this.context = context;
        this.date = date;
    }

    public HomeMessage() {
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "HomeMessage{" +
                "title='" + title + '\'' +
                ", context='" + context + '\'' +
                ", date=" + date +
                '}';
    }
}
